package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/26.
 */

public class SleepDeviceJsonBean {

    /**
     * status : true
     * message : 数据查询成功
     * data : {"pageNo":1,"pageSize":10,"totalCount":1,"totalPageNum":1,"list":[{"id":1,"mettressId":1,"oldmanId":26,"status":null,"heartRate":80,"turn":2,"breathe":23,"sleepQuality":"好","isOnBed":1,"onBedTime":"20:30","createTime":1508209918000,"modifyTime":1508209919000,"sbp":50,"dbp":80,"modifier":10001}]}
     */

    private boolean status;
    private String message;
    private SleepDeviceDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public SleepDeviceDataBean getData() {
        return data;
    }

    public void setData(SleepDeviceDataBean data) {
        this.data = data;
    }

    public static class SleepDeviceDataBean {
        /**
         * pageNo : 1
         * pageSize : 10
         * totalCount : 1
         * totalPageNum : 1
         * list : [{"id":1,"mettressId":1,"oldmanId":26,"status":null,"heartRate":80,"turn":2,"breathe":23,"sleepQuality":"好","isOnBed":1,"onBedTime":"20:30","createTime":1508209918000,"modifyTime":1508209919000,"sbp":50,"dbp":80,"modifier":10001}]
         */

        private int pageNo;
        private int pageSize;
        private int totalCount;
        private int totalPageNum;
        private List<SleepDeviceListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getTotalPageNum() {
            return totalPageNum;
        }

        public void setTotalPageNum(int totalPageNum) {
            this.totalPageNum = totalPageNum;
        }

        public List<SleepDeviceListBean> getList() {
            return list;
        }

        public void setList(List<SleepDeviceListBean> list) {
            this.list = list;
        }

        public static class SleepDeviceListBean {
            /**
             * id : 1
             * mettressId : 1
             * oldmanId : 26
             * status : null
             * heartRate : 80
             * turn : 2
             * breathe : 23
             * sleepQuality : 好
             * isOnBed : 1
             * onBedTime : 20:30
             * createTime : 1508209918000
             * modifyTime : 1508209919000
             * sbp : 50
             * dbp : 80
             * modifier : 10001
             */

            private int id;
            private int mettressId;
            private int oldmanId;
            private String status;
            private int heartRate;
            private int turn;
            private int breathe;
            private String sleepQuality;
            private int isOnBed;
            private String onBedTime;
            private long createTime;
            private long modifyTime;
            private int sbp;
            private int dbp;
            private int modifier;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getMettressId() {
                return mettressId;
            }

            public void setMettressId(int mettressId) {
                this.mettressId = mettressId;
            }

            public int getOldmanId() {
                return oldmanId;
            }

            public void setOldmanId(int oldmanId) {
                this.oldmanId = oldmanId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getHeartRate() {
                return heartRate;
            }

            public void setHeartRate(int heartRate) {
                this.heartRate = heartRate;
            }

            public int getTurn() {
                return turn;
            }

            public void setTurn(int turn) {
                this.turn = turn;
            }

            public int getBreathe() {
                return breathe;
            }

            public void setBreathe(int breathe) {
                this.breathe = breathe;
            }

            public String getSleepQuality() {
                return sleepQuality;
            }

            public void setSleepQuality(String sleepQuality) {
                this.sleepQuality = sleepQuality;
            }

            public int getIsOnBed() {
                return isOnBed;
            }

            public void setIsOnBed(int isOnBed) {
                this.isOnBed = isOnBed;
            }

            public String getOnBedTime() {
                return onBedTime;
            }

            public void setOnBedTime(String onBedTime) {
                this.onBedTime = onBedTime;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getSbp() {
                return sbp;
            }

            public void setSbp(int sbp) {
                this.sbp = sbp;
            }

            public int getDbp() {
                return dbp;
            }

            public void setDbp(int dbp) {
                this.dbp = dbp;
            }

            public int getModifier() {
                return modifier;
            }

            public void setModifier(int modifier) {
                this.modifier = modifier;
            }
        }
    }
}
